package org.jeecg.modules.xmss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.xmss.entity.XmssSupervise;
import org.jeecg.modules.xmss.vo.XmssSupervisePage;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 意见督办关系表
 * @Author: jeecg-boot
 * @Date:   2020-09-18
 * @Version: V1.0
 */
public interface IXmssSuperviseService extends IService<XmssSupervise> {

	/**
	 * 添加一对多
	 *
	 */
	public void saveMain(XmssSupervise xmssSupervise) ;

	/**
	 * 修改一对多
	 *
	 */
	public void updateMain(XmssSupervise xmssSupervise);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	void addSupervise(XmssSupervisePage xmssSupervisePage);

	List<XmssSupervise> supervises(String id);

	void batchDelete(XmssSupervisePage xmssSupervisePage);

	void duanXin(XmssSupervisePage xmssSupervisePage);

}
